package door

import "gitee.com/wcs2/common/enums"

type doorActionTypeStruct struct {
	CLOSE enums.PositionEnum
	OPEN  enums.PositionEnum
	STOP  enums.PositionEnum
}

//门动作类型枚举
var DoorActionTypeEnum = &doorActionTypeStruct{
	OPEN: enums.PositionStruct{
		Code:    "OPEN",
		Des:     "开门动作",
		PlcCode: 1,
	}, CLOSE: enums.PositionStruct{
		Code:    "CLOSE",
		Des:     "关门动作",
		PlcCode: 2,
	}, STOP: enums.PositionStruct{
		Code:    "STOP",
		Des:     "停止当前动作",
		PlcCode: 10,
	},
}
